<template>
    <div class="main clearfix">
        <div class="title-wrapper clearfix">
            <div class="title">
                <i class="iconfont icon-icon_guanlianneirong"></i>
                账户安全
            </div>

            <ul class="title-nav clearfix">
                <li>
                    <router-link to="/userspace/settings/infoSelf" class="link">修改个人信息</router-link>
                </li>
                <li>
                    <router-link to="/userspace/settings/editPwd" class="link">修改密码</router-link>
                </li>
                <li>
                    <router-link to="/userspace/settings/editEmail" class="link">修改邮箱</router-link>
                </li>
                <li>
                    <a href="javascript:" class="link">账号锁定</a>
                </li>
            </ul>
        </div>
        <router-view></router-view>
    </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.main {
    width: 1040px;
    float: left;
    margin-left: 10px;
}

/*设置账户安全页面的标题部分*/
.title-wrapper {
    height: 140px;
    background-color: rgba(255, 255, 255, 0.8);
}

/*设置标题的样式*/
.title-wrapper .title {
    font-size: 24px;
    float: left;
    vertical-align: center;
    margin-top: 53px;
    margin-left: 80px;
}

/*设置图标字体样式*/
.title-wrapper .title i {
    font-size: 34px;
}

/*设置导航栏位置*/
.title-wrapper .title-nav {
    float: right;
    margin-right: 200px;
    margin-top: 65px;
}

/*修改导航栏的内容*/
.title-wrapper .title-nav li {
    float: left;
    margin-right: 30px;
}

.title-wrapper .title-nav li .link {
    font-size: 20px;
    text-decoration: none;
    color: #333333;
    user-select: none;
}

.title-wrapper .title-nav li {
    .link:hover,
    .router-link-active {
        color: #f30213;
    }
}
</style>